

export default class ExecAction {
    constructor(comp) {
        this.comp = comp;
    }

    closeModal = () => {
        this.comp.props.dispatch({
            type: 'emp/update',
            payload: {
                executeModalVisible: false
            }
        });
    }

    changeDate = (date) => {
        this.comp.props.dispatch({
            type: 'emp/update',
            payload: {
                executeModalApplyDate: date
            }
        });
    }
}